package org.oschina.api.user.user.vo;

import org.oschina.Constants;
import org.oschina.bean.BaseBean;
import org.oschina.helper.query.annotation.Cache;
import org.oschina.helper.query.annotation.Table;

@Table(name=Constants.DB_USER)
@Cache(name=Constants.CACHE_USER,timeout=Constants.TIMEOUT_USER)
public class UserVo extends BaseBean {

	private Integer id;
	private String username;
	private String headphoto;
	private String signature;
	private Integer follow_count;
	private Integer fans_count;
	private Boolean online;
	private Long last_login;
	
	public UserVo()
	{
		
	}
	
	public UserVo(int id)
	{
		this.id=id;
	}

	public Boolean getOnline() {
		return online;
	}

	public void setOnline(Boolean online) {
		this.online = online;
	}

	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public Integer getFollow_count() {
		return follow_count;
	}
	public Integer getFans_count() {
		return fans_count;
	}
	public void setFollow_count(Integer followCount) {
		follow_count = followCount;
	}
	public void setFans_count(Integer fansCount) {
		fans_count = fansCount;
	}
	public Long getLast_login() {
		return last_login;
	}
	public void setLast_login(Long lastLogin) {
		last_login = lastLogin;
	}
	public Integer getId() {
		return id;
	}
	public String getUsername() {
		return username;
	}
	public String getHeadphoto() {
		return headphoto;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public void setHeadphoto(String headphoto) {
		this.headphoto = headphoto;
	}
}